package com.ns.dcjh.constant;

public final class Constant {

    private static final String ORG_NAME = "com.ns.dcjh";

    //SHARED PREFERENCES
    public static String SHARED_PREFERENCES_KEY = ORG_NAME + ".APP_DATA";
    public static String SP_KEY_REGISTRATION_ID = ORG_NAME + ".SP_KEY_REGISTRATION_ID";
    public static String SP_KEY_PREVIOUS_CRASH = ORG_NAME + ".SP_KEY_PREVIOUS_CRASH";
    public static String SP_KEY_SPLASH_URL = ORG_NAME + ".SPLASH_URL";
    public static String SP_KEY_SPLASH_IMG = ORG_NAME + ".SPLASH_IMG";
    public static String SP_KEY_SPLASH_DURATION = ORG_NAME + ".SPLASH_DURATION";
    public static String SP_KEY_USER_AGREE_PRIVACY_POLICY = ORG_NAME + ".USER_AGREE_PRIVACY_POLICY";

    //    public static String HOME_URL = "http://192.168.0.16:8080/wap/";
    public static String HOME_URL = "https://www.dichanw.com/wap/";
    //            public static String HOME_URL = "http://www.lefangsj.com/wap/";
//    public static String HOME_URL = "https://www.dichanw.com/wap/test/app";
    public static String URL_PROTOCOL = "https://www.dichanw.com/page/protocol.html";
    public static String URL_PRIVACY_POLICY = "https://www.dichanw.com/page/privacy.html";

    public static String JS_INTERFACE_NAME = "dcjh";

    public static String APK_FILE_NAME = "dcjh_latest.apk";

    //js签名key
    public static String JS_SIGN_KEY = "lefangshijie";

    //wechat
    public static String WECHAT_APP_ID = "wx747198ece7637fe8";
    public static String WECHAT_APP_SECRET = "172c623816a73db630b0ca5bad5e4d59";
    public static String WECHAT_MP_ID = "gh_f5d01e012b9c";
    public static String WECHAT_MP_URL = "https://www.dichanw.com/wap/page/wx_program.html";
    public static String WECHAT_MP_NAME = "查看房源";

    //umeng
    public static String UMENG_APP_ID = "5e992301dbc2ec07ad294e4f";

    //Dou Yin
    public static String DOUYIN_CLIENT_KEY = "aw4e7reo79gl8pnu";

    // XiaoHongshu
    public static String XIAOHONGSHU_CLIENT_KEY = "32ca1429a57878a15cc5c1322c7179c7";

    //file provider
    public static String FILE_PROVIDER_NAME = "com.ns.dcjh.fileprovider";

    //下载海报类型
    public static String DOWNLOAD_POSTER_TYPE_IMAGE = "image";
    public static String DOWNLOAD_POSTER_TYPE_VIDEO = "video";

    //是否首页
    public static Integer MSG_EVENT_URL_IS_HOME = 10000;
    //小程序打开
    public static Integer MSG_EVENT_COMMAND_LAUNCH_WX_MINIPROGRAM = 10001;
    //发送微信返回
    public static Integer MSG_EVENT_COMMAND_SENDMESSAGE_TO_WX = 10002;
    //获取location
    public static Integer MSG_EVENT_GET_LOCATION = 10003;
    //更新APP
    public static Integer MSG_EVENT_APP_UPGRADE = 10004;
    //分享抖音回调
    public static Integer MSG_EVENT_SHARE_CONTENT_TO_TT_RESP = 10005;
    //接收消息
    public static Integer MSG_EVENT_RECEIVED_MSG = 10006;
    //获取磁盘访问权限
    public static Integer MSG_EVENT_REQUEST_STORAGE_PERMS = 10007;
    //提词器退出
    public static Integer MSG_EVENT_PROMPT_EXIT = 10008;
    //开启悬浮提词器设置popup
    public static Integer MSG_EVENT_FLOAT_SETTING = 10009;
    //抖音授权回调
    public static Integer MSG_EVENT_AUTH_DOUYIN_RESP = 10010;
    //分享快手回调
    public static Integer MSG_EVENT_SHARE_KUAISHOU_RESP = 10011;
    //获取相机访问权限
    public static Integer MSG_EVENT_REQUEST_CAMERA_PERMS = 10012;
    //扫描成功获取内容
    public static Integer MSG_EVENT_REQUEST_SCAN_SUCCESS = 10013;
    //震动
    public static Integer MSG_EVENT_REQUEST_VIBRATOR = 10014;
    //跳转浏览器
    public static Integer MSG_EVENT_REQUEST_BROWSER = 10015;
    //打电话
    public static Integer MSG_EVENT_CALL_PHONE = 10016;
    //网页已加载通知
    public static Integer MSG_EVENT_LOADED_NOTIFY = 10017;
    //分享小红书回调
    public static Integer MSG_EVENT_SHARE_XIAOHONGSHU_RESP = 10018;
    // 离线包下载
    public static Integer MSG_OFFLINE_PACKAGE_DOWNLOAD = 10019;
    // 状态栏UI更新
    public static Integer STATUS_UI_UPDATE = 10020;
    // 视频UI更新
    public static Integer VIDEO_UPDLOAD_UI_UPDATE = 10021;
}
